import java.util.Scanner;

public class Test20230808_8 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int n= scanner.nextInt();
        int i=0;
        int j=0;
        for(i=0; i<n; i++){
            for(j=0; j<n; j++){
                if(i==j || i+j+1==n){
                    System.out.print("*");
                }
                else{
                    System.out.print(" ");
                }
                System.out.println();
            }
        }
    }
}
